import { Module, forwardRef } from '@nestjs/common';
import { PostsModule } from 'src/modules/posts.module';
import { AuthorsService } from 'src/services/authors.service';
import { AuthorsResolver } from 'src/resolvers/authors.resolver';

@Module({
    imports: [forwardRef(() => PostsModule)],
    providers: [AuthorsService, AuthorsResolver],
    exports: [AuthorsService]
})

export class AuthorsModule { }